home *** CD-ROM | disk | FTP | other *** search
/ Shareware Super Platinum 8 / Shareware Super Platinum 8.iso / mac / PROGTOOL / FGL304D.ZIP;1 / EXBAS.ARJ / FGDOC / EXAMPLES / BASIC / 16-01.BAS < prev    next >
Encoding:
BASIC Source File  |  1994-01-24  |  286 b   |  18 lines

  1. REM $INCLUDE: 'fastgraf.bi'
  2.  
  3. DEFINT A-Z
  4.  
  5. DIM KeyCode AS STRING*1
  6. DIM AuxCode AS STRING*1
  7.  
  8. Seconds& = 0
  9.  
  10. DO
  11.    FGwaitfor 91
  12.    Seconds& = Seconds& + 5
  13.    PRINT Seconds&; "seconds have elapsed."
  14.    FGintkey KeyCode, AuxCode
  15. LOOP WHILE ASC(KeyCode)+ASC(AuxCode) = 0
  16.  
  17. END
  18.